// pages/tea/tea.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    calassList:[
      {name:"奶茶",
      term:[
          {
            "image": "../../images/tea-01.png",
            "title": "黑糖珍珠奶茶",
            "pickup": false,
            "introduce": "丝丝黑糖香又甜，颗颗珍珠润又圆",
            "price": "7.00起",
            "norms": {
                "weight": "500g"
            },
            "id":"1"
        },
        {
            "image": "../../images/tea-02.png",
            "title": "外婆烧仙草",
            "pickup": false,
            "introduce": "现熬烧仙草，古法老味道",
            "price": "8.00起",
            "norms": {
                "weight": "600g"
            },
            "id":"2"
        },
        {
            "image": "../../images/tea-03.png",
            "title": "三拼霸霸奶茶",
            "pickup": true,
            "introduce": "椰果珍珠烧仙草，好大一碗能喝饱",
            "price": "8.00起",
            "norms": {
                "weight": "250g",
            },
            "id":"3"
        },
        {
            "image": "../../images/tea-04.png",
            "title": "椰果奶茶",
            "pickup": true,
            "introduce": "椰果和奶茶就是绝配呀!",
            "price": "7.00起",
            "norms": {
                "weight": "500g"
            },
            "id":"4"
        },
        {
          "image": "../../images/tea-01.png",
          "title": "黑糖珍珠奶茶",
          "pickup": false,
          "introduce": "丝丝黑糖香又甜，颗颗珍珠润又圆",
          "price": "7.00起",
          "norms": {
              "weight": "500g"
          },
          "id":"1"
      },
      {
          "image": "../../images/tea-02.png",
          "title": "外婆烧仙草",
          "pickup": false,
          "introduce": "现熬烧仙草，古法老味道",
          "price": "8.00起",
          "norms": {
              "weight": "600g"
          },
          "id":"2"
      }
        ]
      },
    ]
  },
  gotoorder(){
    wx.switchTab({
        url: '/pages/order/order'
    });
      
}
})